package cn.sunxyz.core.bean;

import java.lang.annotation.Annotation;
import java.util.List;

/**
 * Created by yangrd on 2017/5/19.
 */
interface ClassContainer {

    /**
     * 获取指定注解的相关类
     */
    List<Class<?>> listClassByAnnotation(Class<? extends Annotation> annotationClass);

    /**
     * 获取指定父类或接口的相关类
     */
    List<Class<?>> listClassBySuper(Class<?> superClass);
}
